﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Prism.Events;

namespace P2.Cuberry.Framework.Helper
{

    public class P2Event : CompositePresentationEvent<P2EventParameter>
    {
    }
 
    public class P2EventParameter
    {
        public string Name { get; set; }
        private Dictionary<string, string> _parameters = new Dictionary<string, string>();
        public Dictionary<string, string> Parameters
        {
            get
            {
                return _parameters;
            }
        }
        private P2MessageStack _messages = new P2MessageStack();
        public P2MessageStack Messages
        {
            get
            {
                return _messages;
            }
        }

    }
}
